package nix.ssh.service.impl;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import nix.ssh.dao.UserDao;
import nix.ssh.domain.User;
import nix.ssh.service.UserService;

public class UserServiceImpl implements UserService {

	private UserDao userDao;

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	@Override
	public List<User> getPageList(DetachedCriteria dc, int start, int pageSize) {
		return this.userDao.getPageList(dc, start, pageSize);
	}
}
